import { onShareAppMessage, onShareTimeline } from '@dcloudio/uni-app';

const onShare = () => {
    onShareAppMessage(() => {
        return {
            title: '爱普服务',
            path: '/pages/index/index'
        }
    })

    onShareTimeline(() => {
        return {
            title: '爱普服务',
            path: '/pages/index/index'
        }
    });

    return { onShareAppMessage, onShareTimeline }
}


export default onShare;